Feature: 01. User Registration Tests
Before
Hook
When
the Primary Stream View is visible
And
the Secondary Stream View is visible
And
the Bottom Menu is visible
And
the Settings Button is clicked
And
the Settings Menu is visible
And
the Setup Settings Button is clicked
And
a menu "NMEA SETUP" is visible
When
I insert "powerdev123" in the Installer Login field
And
the Login as installer Button is clicked
And
a class "installerMode developer" is visible
And
the Developer Settings Button is clicked
org.openqa.selenium.TimeoutException: Expected condition failed: waiting for presence of element located by: By.xpath: //*[contains(text(), 'user-registration-remaining-skips')]/../../div[2]/input (tried for 5 second(s) with 100 milliseconds interval)
at org.openqa.selenium.support.ui.WebDriverWait.timeoutException(WebDriverWait.java:95)
at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:272)
at extern.bsb.tests.ui.when.FormOperations.When__I_insert_in_the_field(FormOperations.java:33)
at ✽.I insert "10" in the User Registration Input field(file:///media/PTJenkins/jenkins_home/jenkins/workspace/CI-CD_ShortTermSentry/short_term_sentry/release/01.User_Registration.feature:19)
Caused by: org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//*[contains(text(), 'user-registration-remaining-skips')]/../../div[2]/input"}
(Session info: chrome-headless-shell=124.0.6367.118)
For documentation on this error, please visit: https://www.seleniumhq.org/exceptions/no_such_element.html
Build info: version: 'unknown', revision: 'unknown', time: 'unknown'
System info: host: 'jenkintPT', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '6.5.0-41-generic', java.version: '11.0.24'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Capabilities {acceptInsecureCerts: false, browserName: chrome-headless-shell, browserVersion: 124.0.6367.118, chrome: {chromedriverVersion: 124.0.6367.91 (51df0e5e17a8..., userDataDir: /tmp/.org.chromium.Chromium...}, fedcm:accounts: true, goog:chromeOptions: {debuggerAddress: localhost:32871}, javascriptEnabled: true, networkConnectionEnabled: false, pageLoadStrategy: none, platform: LINUX, platformName: LINUX, proxy: Proxy(), setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, webauthn:extension:credBlob: true, webauthn:extension:largeBlob: true, webauthn:extension:minPinLength: true, webauthn:extension:prf: true, webauthn:virtualAuthenticators: true}
Session ID: 446b245005afbedce072df0b99df1904
*** Element info: {Using=xpath, value=//*[contains(text(), 'user-registration-remaining-skips')]/../../div[2]/input}
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
at org.openqa.selenium.remote.http.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:187)
at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:122)
at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:49)
at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:158)
at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:83)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552)
at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:323)
at org.openqa.selenium.remote.RemoteWebDriver.findElementByXPath(RemoteWebDriver.java:428)
at org.openqa.selenium.By$ByXPath.findElement(By.java:353)
at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:315)
at org.openqa.selenium.support.ui.ExpectedConditions$6.apply(ExpectedConditions.java:182)
at org.openqa.selenium.support.ui.ExpectedConditions$6.apply(ExpectedConditions.java:179)
at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:249)
at extern.bsb.tests.ui.when.FormOperations.When__I_insert_in_the_field(FormOperations.java:33)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at io.cucumber.java.Invoker.doInvoke(Invoker.java:66)
at io.cucumber.java.Invoker.invoke(Invoker.java:24)
at io.cucumber.java.AbstractGlueDefinition.invokeMethod(AbstractGlueDefinition.java:47)
at io.cucumber.java.JavaStepDefinition.execute(JavaStepDefinition.java:29)
at io.cucumber.core.runner.CoreStepDefinition.execute(CoreStepDefinition.java:66)
at io.cucumber.core.runner.PickleStepDefinitionMatch.runStep(PickleStepDefinitionMatch.java:63)
at io.cucumber.core.runner.ExecutionMode$1.execute(ExecutionMode.java:10)
at io.cucumber.core.runner.TestStep.executeStep(TestStep.java:84)
at io.cucumber.core.runner.TestStep.run(TestStep.java:56)
at io.cucumber.core.runner.PickleStepTestStep.run(PickleStepTestStep.java:51)
at io.cucumber.core.runner.TestCase.run(TestCase.java:84)
at io.cucumber.core.runner.Runner.runPickle(Runner.java:75)
at io.cucumber.core.runtime.Runtime.lambda$executePickle$6(Runtime.java:107)
at io.cucumber.core.runtime.CucumberExecutionContext.lambda$runTestCase$5(CucumberExecutionContext.java:137)
at io.cucumber.core.runtime.RethrowingThrowableCollector.executeAndThrow(RethrowingThrowableCollector.java:23)
at io.cucumber.core.runtime.CucumberExecutionContext.runTestCase(CucumberExecutionContext.java:137)
at io.cucumber.core.runtime.Runtime.lambda$executePickle$7(Runtime.java:107)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at io.cucumber.core.runtime.Runtime$SameThreadExecutorService.execute(Runtime.java:235)
at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:118)
at io.cucumber.core.runtime.Runtime.lambda$runFeatures$3(Runtime.java:89)
at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
at java.base/java.util.stream.SliceOps$1$1.accept(SliceOps.java:199)
at java.base/java.util.ArrayList$ArrayListSpliterator.tryAdvance(ArrayList.java:1632)
at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127)
at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913)
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:578)
at io.cucumber.core.runtime.Runtime.runFeatures(Runtime.java:90)
at io.cucumber.core.runtime.Runtime.lambda$run$0(Runtime.java:78)
at io.cucumber.core.runtime.CucumberExecutionContext.lambda$runFeatures$6(CucumberExecutionContext.java:148)
at io.cucumber.core.runtime.CucumberExecutionContext.execute(CucumberExecutionContext.java:163)
at io.cucumber.core.runtime.CucumberExecutionContext.runFeatures(CucumberExecutionContext.java:146)
at io.cucumber.core.runtime.Runtime.run(Runtime.java:78)
at io.cucumber.core.cli.Main.run(Main.java:87)
at io.cucumber.core.cli.Main.main(Main.java:30)
at extern.bsb.tests.main.Main.main(Main.java:21)
And
the Settings Button is clicked
And
the Settings Menu is invisible
And
the DevMode Quit Button is clicked
And
a class "installerMode" is invisible
Before
Hook
java.lang.AssertionError: Expected condition failed: waiting for visibility of element located by By.xpath: //div[contains(@class, 'registrationModalContent')] (tried for 5 second(s) with 100 milliseconds interval) at org.junit.Assert.fail(Assert.java:88) at extern.bsb.tests.ui.then.WaitForElement.Then__is_visible(WaitForElement.java:69) at ✽.the User Registration Page is visible(file:///media/PTJenkins/jenkins_home/jenkins/workspace/CI-CD_ShortTermSentry/short_term_sentry/release/01.User_Registration.feature:37)
When
the Skip Registration Button is visible
Then
the text on element Skip Registration Button Text is "Skip (10)"
Before
Hook
java.lang.AssertionError: Expected condition failed: waiting for visibility of element located by By.xpath: //div[contains(@class, 'registrationModalContent')] (tried for 5 second(s) with 100 milliseconds interval) at org.junit.Assert.fail(Assert.java:88) at extern.bsb.tests.ui.then.WaitForElement.Then__is_visible(WaitForElement.java:69) at ✽.the User Registration Page is visible(file:///media/PTJenkins/jenkins_home/jenkins/workspace/CI-CD_ShortTermSentry/short_term_sentry/release/01.User_Registration.feature:44)
And
the Skip Registration Button is visible
And
the text on element Skip Registration Button Text is "Skip (10)"
And
the Invalid Product Key Error is invisible
When
the Validate Product Key Button is clicked
Then
the Invalid Product Key Error is visible
And
the text on element Invalid Product Key Error is "Invalid Product Key"
Before
Hook
java.lang.AssertionError: Expected condition failed: waiting for visibility of element located by By.xpath: //div[contains(@class, 'registrationModalContent')] (tried for 5 second(s) with 100 milliseconds interval) at org.junit.Assert.fail(Assert.java:88) at extern.bsb.tests.ui.then.WaitForElement.Then__is_visible(WaitForElement.java:69) at ✽.the User Registration Page is visible(file:///media/PTJenkins/jenkins_home/jenkins/workspace/CI-CD_ShortTermSentry/short_term_sentry/release/01.User_Registration.feature:54)
And
the Skip Registration Button is visible
And
the text on element Skip Registration Button Text is "Skip (10)"
And
the Invalid Product Key Error is invisible
When
I insert "wrongpassword" in the Product Key Input field
And
the Validate Product Key Button is clicked
Then
the Invalid Product Key Error is visible
And
the text on element Invalid Product Key Error is "Invalid Product Key"
Before
Hook
java.lang.AssertionError: Expected condition failed: waiting for visibility of element located by By.xpath: //div[contains(@class, 'registrationModalContent')] (tried for 5 second(s) with 100 milliseconds interval) at org.junit.Assert.fail(Assert.java:88) at extern.bsb.tests.ui.then.WaitForElement.Then__is_visible(WaitForElement.java:69) at ✽.the User Registration Page is visible(file:///media/PTJenkins/jenkins_home/jenkins/workspace/CI-CD_ShortTermSentry/short_term_sentry/release/01.User_Registration.feature:65)
And
the Skip Registration Button is visible
And
the text on element Skip Registration Button Text is "Skip (10)"
And
the Invalid Product Key Error is invisible
And
I insert "wrongpassword" in the Product Key Input field
And
the Validate Product Key Button is clicked
And
the Invalid Product Key Error is visible
And
the text on element Invalid Product Key Error is "Invalid Product Key"
When
the Skip Registration Button is clicked
Then
the Primary Stream View is visible
And
the Secondary Stream View is visible
And
the Bottom Menu is visible
And
the Boatbus Menu is visible
Before
Hook
java.lang.AssertionError: Expected condition failed: waiting for visibility of element located by By.xpath: //div[contains(@class, 'registrationModalContent')] (tried for 5 second(s) with 100 milliseconds interval) at org.junit.Assert.fail(Assert.java:88) at extern.bsb.tests.ui.then.WaitForElement.Then__is_visible(WaitForElement.java:69) at ✽.the User Registration Page is visible(file:///media/PTJenkins/jenkins_home/jenkins/workspace/CI-CD_ShortTermSentry/short_term_sentry/release/01.User_Registration.feature:80)
And
the Skip Registration Button is visible
And
the text on element Skip Registration Button Text is "Skip (9)"
When
the Skip Registration Button is clicked
Then
the Primary Stream View is visible
And
the Secondary Stream View is visible
And
the Bottom Menu is visible
And
the Boatbus Menu is visible
Before
Hook
java.lang.AssertionError: Expected condition failed: waiting for visibility of element located by By.xpath: //div[contains(@class, 'registrationModalContent')] (tried for 5 second(s) with 100 milliseconds interval) at org.junit.Assert.fail(Assert.java:88) at extern.bsb.tests.ui.then.WaitForElement.Then__is_visible(WaitForElement.java:69) at ✽.the User Registration Page is visible(file:///media/PTJenkins/jenkins_home/jenkins/workspace/CI-CD_ShortTermSentry/short_term_sentry/release/01.User_Registration.feature:90)
And
the Skip Registration Button is visible
And
the text on element Skip Registration Button Text is "Skip (8)"
When
the Skip Registration Button is clicked
Then
the Primary Stream View is visible
And
the Secondary Stream View is visible
And
the Bottom Menu is visible
And
the Boatbus Menu is visible
Before
Hook
java.lang.AssertionError: Expected condition failed: waiting for visibility of element located by By.xpath: //div[contains(@class, 'registrationModalContent')] (tried for 5 second(s) with 100 milliseconds interval) at org.junit.Assert.fail(Assert.java:88) at extern.bsb.tests.ui.then.WaitForElement.Then__is_visible(WaitForElement.java:69) at ✽.the User Registration Page is visible(file:///media/PTJenkins/jenkins_home/jenkins/workspace/CI-CD_ShortTermSentry/short_term_sentry/release/01.User_Registration.feature:100)
And
the Skip Registration Button is visible
And
the text on element Skip Registration Button Text is "Skip (7)"
When
the Skip Registration Button is clicked
Then
the Primary Stream View is visible
And
the Secondary Stream View is visible
And
the Bottom Menu is visible
And
the Boatbus Menu is visible
Before
Hook
java.lang.AssertionError: Expected condition failed: waiting for visibility of element located by By.xpath: //div[contains(@class, 'registrationModalContent')] (tried for 5 second(s) with 100 milliseconds interval) at org.junit.Assert.fail(Assert.java:88) at extern.bsb.tests.ui.then.WaitForElement.Then__is_visible(WaitForElement.java:69) at ✽.the User Registration Page is visible(file:///media/PTJenkins/jenkins_home/jenkins/workspace/CI-CD_ShortTermSentry/short_term_sentry/release/01.User_Registration.feature:110)
And
the Skip Registration Button is visible
And
the text on element Skip Registration Button Text is "Skip (6)"
When
the Skip Registration Button is clicked
Then
the Primary Stream View is visible
And
the Secondary Stream View is visible
And
the Bottom Menu is visible
And
the Boatbus Menu is visible
Before
Hook
java.lang.AssertionError: Expected condition failed: waiting for visibility of element located by By.xpath: //div[contains(@class, 'registrationModalContent')] (tried for 5 second(s) with 100 milliseconds interval) at org.junit.Assert.fail(Assert.java:88) at extern.bsb.tests.ui.then.WaitForElement.Then__is_visible(WaitForElement.java:69) at ✽.the User Registration Page is visible(file:///media/PTJenkins/jenkins_home/jenkins/workspace/CI-CD_ShortTermSentry/short_term_sentry/release/01.User_Registration.feature:120)
And
the Skip Registration Button is visible
And
the text on element Skip Registration Button Text is "Skip (5)"
When
the Skip Registration Button is clicked
Then
the Primary Stream View is visible
And
the Secondary Stream View is visible
And
the Bottom Menu is visible
And
the Boatbus Menu is visible
Before
Hook
java.lang.AssertionError: Expected condition failed: waiting for visibility of element located by By.xpath: //div[contains(@class, 'registrationModalContent')] (tried for 5 second(s) with 100 milliseconds interval) at org.junit.Assert.fail(Assert.java:88) at extern.bsb.tests.ui.then.WaitForElement.Then__is_visible(WaitForElement.java:69) at ✽.the User Registration Page is visible(file:///media/PTJenkins/jenkins_home/jenkins/workspace/CI-CD_ShortTermSentry/short_term_sentry/release/01.User_Registration.feature:130)
And
the Skip Registration Button is visible
And
the text on element Skip Registration Button Text is "Skip (4)"
When
the Skip Registration Button is clicked
Then
the Primary Stream View is visible
And
the Secondary Stream View is visible
And
the Bottom Menu is visible
And
the Boatbus Menu is visible
Before
Hook
java.lang.AssertionError: Expected condition failed: waiting for visibility of element located by By.xpath: //div[contains(@class, 'registrationModalContent')] (tried for 5 second(s) with 100 milliseconds interval) at org.junit.Assert.fail(Assert.java:88) at extern.bsb.tests.ui.then.WaitForElement.Then__is_visible(WaitForElement.java:69) at ✽.the User Registration Page is visible(file:///media/PTJenkins/jenkins_home/jenkins/workspace/CI-CD_ShortTermSentry/short_term_sentry/release/01.User_Registration.feature:140)
And
the Skip Registration Button is visible
And
the text on element Skip Registration Button Text is "Skip (3)"
When
the Skip Registration Button is clicked
Then
the Primary Stream View is visible
And
the Secondary Stream View is visible
And
the Bottom Menu is visible
And
the Boatbus Menu is visible
Before
Hook
java.lang.AssertionError: Expected condition failed: waiting for visibility of element located by By.xpath: //div[contains(@class, 'registrationModalContent')] (tried for 5 second(s) with 100 milliseconds interval) at org.junit.Assert.fail(Assert.java:88) at extern.bsb.tests.ui.then.WaitForElement.Then__is_visible(WaitForElement.java:69) at ✽.the User Registration Page is visible(file:///media/PTJenkins/jenkins_home/jenkins/workspace/CI-CD_ShortTermSentry/short_term_sentry/release/01.User_Registration.feature:150)
And
the Skip Registration Button is visible
And
the text on element Skip Registration Button Text is "Skip (2)"
When
the Skip Registration Button is clicked
Then
the Primary Stream View is visible
And
the Secondary Stream View is visible
And
the Bottom Menu is visible
And
the Boatbus Menu is visible
Before
Hook
java.lang.AssertionError: Expected condition failed: waiting for visibility of element located by By.xpath: //div[contains(@class, 'registrationModalContent')] (tried for 5 second(s) with 100 milliseconds interval) at org.junit.Assert.fail(Assert.java:88) at extern.bsb.tests.ui.then.WaitForElement.Then__is_visible(WaitForElement.java:69) at ✽.the User Registration Page is visible(file:///media/PTJenkins/jenkins_home/jenkins/workspace/CI-CD_ShortTermSentry/short_term_sentry/release/01.User_Registration.feature:160)
And
the Skip Registration Button is visible
And
the text on element Skip Registration Button Text is "Skip (1)"
When
the Skip Registration Button is clicked
Then
the Primary Stream View is visible
And
the Secondary Stream View is visible
And
the Bottom Menu is visible
And
the Boatbus Menu is visible
Before
Hook
java.lang.AssertionError: Expected condition failed: waiting for visibility of element located by By.xpath: //div[contains(@class, 'registrationModalContent')] (tried for 5 second(s) with 100 milliseconds interval) at org.junit.Assert.fail(Assert.java:88) at extern.bsb.tests.ui.then.WaitForElement.Then__is_visible(WaitForElement.java:69) at ✽.the User Registration Page is visible(file:///media/PTJenkins/jenkins_home/jenkins/workspace/CI-CD_ShortTermSentry/short_term_sentry/release/01.User_Registration.feature:171)
And
the Skip Registration Button is invisible
And
the Invalid Product Key Error is invisible
When
I insert "the serial password" in the Product Key Input field
And
the Validate Product Key Button is clicked
Then
the Invalid Product Key Error is invisible
And
the Primary Stream View is visible
And
the Secondary Stream View is visible
And
the Bottom Menu is visible
And
the Boatbus Menu is visible